UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/opt/samba/smb.conf file must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1028 GEN006140 SV-35221r1_rule ECLP-1 Medium
Description
If the smb.conf file has excessive permissions, the file may be maliciously modified and the Samba configuration could be compromised.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-06-12

Details

Check Text ( C-36697r1_chk )
Check the mode of the smb.conf file.
# ls -lL /etc/opt/samba/smb.conf

If the smb.conf has a mode more permissive than 0644, this is a finding.
Fix Text (F-32071r1_fix)
Change the mode of the smb.conf file to 0644 or less permissive.
# chmod 0644 /etc/opt/samba/smb.conf